﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using NAudio.Wave;

namespace HPKaraoke
{
    public class LibraryGUI
    {
        //public LibraryController Controller { get; set; }

        //public LibraryGUI()
        //{
        //    Controller = new LibraryController();
        //}

        //public void SetControl(TextBlock lyric1BackgroundControl, TextBlock lyric1AnimControl, TextBlock lyric2BackgroundControl, TextBlock lyric2AnimControl)
        //{
        //    for (int i = 0; i < Controller.SongList.Count; ++i)
        //    {
        //        Controller.SongList[i].SetControl(lyric1BackgroundControl, lyric1AnimControl, lyric2BackgroundControl, lyric2AnimControl);
        //    }
        //}

        //public int LoadPlayList(string folder)
        //{
        //    return Controller.LoadAllSongInLibrary(folder);
        //}

        //public SongGUI this[string index]
        //{
        //    get
        //    {
        //        for (int i = 0; i < Controller.SongList.Count; ++i )
        //            if (index.EndsWith(Controller.SongList[i].song.Information.ID))
        //            {
        //                return Controller.SongList[i];
        //            }
        //        return null;
        //    }
        //}

        //public void Dispose()
        //{
        //    this.Controller.Dispose();
        //}
    }
}
